@import "@/common/constants/StyleConst.scss";

.tree-container {
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  height: inherit;
  overflow-x: scroll;
  overflow-x: overlay;
  position: relative;

  .tree-title {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 40px;
    background-color: $color-theme-blue;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    padding: 8px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .title-append {
      .v-icon::before {
        font-weight: 700;
      }
    }
  }

  :deep .tree {
    text-align: left;


    &>.v-treeview-node {
      &>.v-treeview-node__root {
        background-color: #DFE1E8;
        font-size: 14px;
        font-weight: 700;
      }
    }

    &.theme--light.v-treeview--hoverable .v-treeview-node__root:hover,
    &.theme--light.v-treeview .v-treeview-node--click>.v-treeview-node__root:hover {

      .action {
        visibility: visible;
      }
    }

    .action {
      visibility: hidden;
    }
  }
}